package com.vast.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.vast.system.entity.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@ApiModel(value="com.vast.admin.entity.Lawyer")
@Data
@TableName(value = "lawyer")
public class Lawyer extends SuperEntity implements Serializable {
    /**
     * 类型
     */
    @TableField(value = "type")
    @ApiModelProperty(value="类型")
    private Integer type;

    /**
     * 状态 1-正常 0- 禁用
     */
    @TableField(value = "status")
    @ApiModelProperty(value="状态 1-正常 0- 禁用")
    private Integer status;

    /**
     * 备注
     */
    @TableField(value = "remark")
    @ApiModelProperty(value="备注")
    private String remark;

    /**
     * 所属律所id
     */
    @TableField(value = "law_office_id")
    @ApiModelProperty(value="所属律所id")
    private Long lawOfficeId;

    @TableField(exist = false)
    @ApiModelProperty(value="所属律所名称")
    private String lawOfficeName;

    /**
     * 执业证号
     */
    @TableField(value = "practice_number")
    @ApiModelProperty(value="执业证号")
    private String practiceNumber;

    /**
     * 姓名
     */
    @TableField(value = "name")
    @ApiModelProperty(value="姓名")
    private String name;

    /**
     * 出生年月日
     */
    @TableField(value = "birthday")
    @ApiModelProperty(value="出生年月日")
    private Date birthday;

    /**
     * 学历
     */
    @TableField(value = "education")
    @ApiModelProperty(value="学历")
    private String education;

    /**
     * 执业状态
     */
    @TableField(value = "practice_status")
    @ApiModelProperty(value="执业状态")
    private String practiceStatus;

    /**
     * 执业类型
     */
    @TableField(value = "practice_type")
    @ApiModelProperty(value="执业类型")
    private String practiceType;

    /**
     * 资格证号
     */
    @TableField(value = "qualification_code")
    @ApiModelProperty(value="资格证号")
    private String qualificationCode;

    /**
     * 资格证取得时间
     */
    @TableField(value = "qualification_get_date")
    @ApiModelProperty(value="资格证取得时间")
    private Date qualificationGetDate;

    /**
     * 联系电话
     */
    @TableField(value = "phone")
    @ApiModelProperty(value="联系电话")
    private String phone;

    /**
     * 所内职位
     */
    @TableField(value = "position")
    @ApiModelProperty(value="所内职位")
    private String position;

    /**
     * 民族
     */
    @TableField(value = "nation")
    @ApiModelProperty(value="民族")
    private String nation;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    @ApiModelProperty(value="邮箱")
    private String email;

    private static final long serialVersionUID = 1L;

    public static final String COL_TYPE = "type";

    public static final String COL_STATUS = "status";

    public static final String COL_REMARK = "remark";

    public static final String COL_LAW_OFFICE_ID = "law_office_id";

    public static final String COL_PRACTICE_NUMBER = "practice_number";

    public static final String COL_NAME = "name";

    public static final String COL_BIRTHDAY = "birthday";

    public static final String COL_EDUCATION = "education";

    public static final String COL_PRACTICE_STATUS = "practice_status";

    public static final String COL_PRACTICE_TYPE = "practice_type";

    public static final String COL_QUALIFICATION_CODE = "qualification_code";

    public static final String COL_QUALIFICATION_GET_DATE = "qualification_get_date";

    public static final String COL_PHONE = "phone";

    public static final String COL_POSITION = "position";

    public static final String COL_NATION = "nation";

    public static final String COL_EMAIL = "email";
}